<div class="ibox">
	<div class="ibox-content">
		<form class="form-horizontal" id="addForm"
			action="${cxt!}/message/smsMessage/add" method="POST">
			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["smsMessage.smsTitle"]}<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-3">
					<input type="text" class="form-control" name="smsMessage.title" placeholder="${_res['smsMessage.title']}" required aria-required="true">
				</div>
				<label class="col-sm-2 control-label">${_res["smsMessage.sendObject"]}<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-sm-3">
					<#dict type="select" name="smsMessage.sendobject" table="customer_role" filedName="name" filedValue="id" required="true" />
				</div>
			</div>
			<div class="hr-line-dashed"></div>

			<div class="form-group">
				<label class="col-md-2 control-label">${_res["smsMessage.sendTime"]}<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-6">
					<input class="form-control layer-date laydate-icon" name="smsMessage.sendtime" placeholder="${_res['smsMessage.sendTime']}" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" required aria-required="true">
				</div>
			</div>
			<div class="hr-line-dashed"></div>
			
			<div class="form-group">
				<label class="col-md-2 control-label">${_res["smsMessage.smsContent"]}<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-6">
					<textarea rows="10" cols="10" class="form-control" name="smsMessage.content" required aria-required="true"></textarea>
				</div>
			</div>	
			<div class="hr-line-dashed"></div>		

			<div class="form-group">
				<div class="row">
					<div class="col-md-10 col-md-offset-2">
						<button type="button" class="btn btn-warning" onClick="ajaxContent('/message/smsMessage/list')">${_res["system.return"]}</button>
						<button type="submit" class="btn btn-primary">${_res["system.save"]}</button>
						<button type="button" class="btn btn-danger" onClick="ajaxContent('/message/smsMessage/list')">${_res["system.cancel"]}</button>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>
<#submit formId="addForm" divId="content" /> <#nav />
